package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 参赛其他材料提交对象 act_material
 *
 * @author xuyk
 * @date 2022-03-13
 */
public class ActMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**
     * 大赛名称
     */
    @Excel(name = "大赛名称")
    private String gameName;

    /** 上传人用户ID */
    private Long userId;

    /** 学校ID */
    private Long schoolId;

    /** 院系ID */
    private Long facultyId;

    /**
     * 学校
     */
    @Excel(name = "学校")
    private String school;

    /**
     * 院系
     */
    @Excel(name = "院系")
    private String faculty;

    /**填写人姓名**/
    @Excel(name = "填报人")
    private String userName;

    /** 材料详情 */
    @Excel(name = "材料详情")
    private String description;

    /**  */
    private String delFlag;


    /**大赛ID**/
    private Long gameId;

    /**
     * 是否有查询所有的权限
     */
    private boolean allSelectPerm = false;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }
    public void setFacultyId(Long facultyId)
    {
        this.facultyId = facultyId;
    }

    public Long getFacultyId()
    {
        return facultyId;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getFaculty() {
        return faculty;
    }

    public void setFaculty(String faculty) {
        this.faculty = faculty;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getGameId() {
        return gameId;
    }

    public void setGameId(Long gameId) {
        this.gameId = gameId;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public boolean isAllSelectPerm() {
        return allSelectPerm;
    }

    public void setAllSelectPerm(boolean allSelectPerm) {
        this.allSelectPerm = allSelectPerm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("schoolId", getSchoolId())
            .append("facultyId", getFacultyId())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
